# GENERATED BY: test/outdated/outdated_test.dart

## Section 0
$ pub outdated --json
{
  "packages": [
    {
      "package": "bar",
      "kind": "direct",
      "isDiscontinued": false,
      "isCurrentRetracted": false,
      "isCurrentAffectedByAdvisory": false,
      "current": null,
      "upgradable": {
        "version": "1.2.3"
      },
      "resolvable": {
        "version": "2.0.0"
      },
      "latest": {
        "version": "2.0.0"
      }
    },
    {
      "package": "foo",
      "kind": "direct",
      "isDiscontinued": false,
      "isCurrentRetracted": false,
      "isCurrentAffectedByAdvisory": false,
      "current": null,
      "upgradable": {
        "version": "1.2.3"
      },
      "resolvable": {
        "version": "1.2.3"
      },
      "latest": {
        "version": "1.2.3"
      }
    }
  ]
}

-------------------------------- END OF OUTPUT ---------------------------------

## Section 1
$ pub outdated --no-color
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 2
$ pub outdated --no-color --no-transitive
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 3
$ pub outdated --no-color --up-to-date
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 4
$ pub outdated --no-color --prereleases
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 5
$ pub outdated --no-color --no-dev-dependencies
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 6
$ pub outdated --no-color --no-dependency-overrides
Showing outdated packages.
[*] indicates versions that are not the latest available.

Package Name  Current  Upgradable  Resolvable  Latest  

direct dependencies:
bar           -        *1.2.3      2.0.0       2.0.0   
foo           -        1.2.3       1.2.3       1.2.3   

No pubspec.lock found. There are no Current versions.
Run `dart pub get` to create a pubspec.lock with versions matching your pubspec.yaml.

1 dependency is constrained to a version that is older than a resolvable version.
To update it, edit pubspec.yaml, or run `dart pub upgrade --major-versions`.

-------------------------------- END OF OUTPUT ---------------------------------

## Section 7
$ pub outdated --json --no-dev-dependencies
{
  "packages": [
    {
      "package": "bar",
      "kind": "direct",
      "isDiscontinued": false,
      "isCurrentRetracted": false,
      "isCurrentAffectedByAdvisory": false,
      "current": null,
      "upgradable": {
        "version": "1.2.3"
      },
      "resolvable": {
        "version": "2.0.0"
      },
      "latest": {
        "version": "2.0.0"
      }
    },
    {
      "package": "foo",
      "kind": "direct",
      "isDiscontinued": false,
      "isCurrentRetracted": false,
      "isCurrentAffectedByAdvisory": false,
      "current": null,
      "upgradable": {
        "version": "1.2.3"
      },
      "resolvable": {
        "version": "1.2.3"
      },
      "latest": {
        "version": "1.2.3"
      }
    }
  ]
}

